<ng-container [ngSwitch]="status">
	<span *ngSwitchCase="true" [style.color]="'green'">在线</span>
	<span *ngSwitchCase="false">离线</span>
</ng-container>
